package com.imooc.bilibili.dao;

import com.imooc.bilibili.domain.auth.UserRole;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author GJH
 * @version V1.0
 * @Package com.imooc.bilibili.dao
 * @date 2022/3/30 16:35
 * @Copyright © XXXX-XXXX  搬砖工程师
 */
@Mapper
public interface UserRoleDao {
    List<UserRole> getUserRoleByUserId(Long userId);

    void addUserRole(UserRole userRole);
}
